DicomObjects.NET Core Documentation
DicomObjects Namespace / DicomDataSetCollection Class / Read Method / Read(IEnumerable<String>) Method

A set of Filenames to read.




In This Topic
    Read(IEnumerable<String>) Method
    In This Topic
    Creates and adds a collection of DicomDataSet objects from a collection of external DICOM files
    Syntax
    'Declaration
     
    
    Public Overloads Function Read( _
       ByVal FileNames As IEnumerable(Of String) _
    ) As DicomDataSetCollection
    'Usage
     
    
    Dim instance As DicomDataSetCollection
    Dim FileNames As IEnumerable(Of String)
    Dim value As DicomDataSetCollection
     
    value = instance.Read(FileNames)

    Parameters

    FileNames

    A set of Filenames to read.

    Return Value

    If successful, a DicomDataSetCollection is returned, and is added to the appropriate collection. If unsuccessful, an appropriate error is thrown.
    Remarks
    Like reading from a single DICOM file, this method loops through the list of files and read them one by one and if successful returns a DicomDataSetCollectionwhich contains all the newly created DicomDataSets.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also